package cn.itcast.demo6.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * ClassName: Purse
 * Package: com.itcast.demo5.pojo
 * Description:用户映射表
 *
 * @Author MLH
 * @Create 2023/4/18 8:57
 * @Version 1.0
 */
@Data
@TableName("p_user")
public class Purse {

    @TableId("id")
    private int purseId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp updatedAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp deletedAt;
    private String mobile;
    private String nickname;
}
